home *** CD-ROM | disk | FTP | other *** search
XSetup plugin | 2002-03-31 | 1.3 KB | 41 lines |
- "FILE"="Xteq Systems X-Setup Plugin 6.0"
- "TYPE"="6"
- "COUNT"="1"
- "UIPATH"="Appearance\Files&Folders\Shortcuts"
- "NAME"="Shortcut Prefix"
- "VERSION"="1.50"
- "LANGUAGE"="VBScript"
- "TEXT 1"="Use prefix "Shortcut to..." for new shortcuts"
- "DESCRIPTION 1"="Normally, Windows adds the text "Shortcut to" to any new shortcut you create."
- "DESCRIPTION 2"="If you do not like this, deactivate this option."
- "AUTHOR"="Xteq Systems"
- "CONTACTURL"="http://www.xteq.com"
- "COPYRIGHT"="Copyright ⌐ Xteq Systems - All Rights Reserved"
- "COMMENT 1"="see also MS KB Q253212"
- "COMMENT 2"="Thanks to Siegfried Burgstedt (siegfried.burgstedt@gmx.net)"
- "COMMENT 3"="Thanks to David Goodenough (dpg@ix.netcom.com) for the Win95 fix"
- "COMMENT 4"="Thanks to Danny Kohn [danny.kohn@systematik.se] for the <delete> fix"
- "COMMENT 5"="Thanks to Sergey Parunov [psnsergey@mail.primorye.ru] for the final fix."
-
- sP="HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Link"
-
- Sub Plugin_Initialize
- s=RegReadValue(sP)
- if IsEmpty(s) or s="30000000" then
- SetUIElement 1, true
- end if
- End Sub
-
- Sub Plugin_Apply(ElementIndex,ElementSubIndex)
- if GetUIElement(1) then
- if RegValueExists(sP) then
- RegDeleteValue sP
- end if
- else
- RegWriteValue sP,"00000000",3
- end if
- Logoff
- End Sub
-
- Sub Plugin_Terminate
- End Sub